import { createI18n } from 'vue-i18n'

// Import language files
import zhCN from './locales/zh-CN.json'
import enUS from './locales/en-US.json'

// Create internationalization instance
const i18n = createI18n({
  legacy: false, // Use Composition API
  locale: 'en-US', // Default language
  fallbackLocale: 'en-US', // Fallback language
  messages: {
    'zh-CN': zhCN,
    'en-US': enUS
  }
})

export default i18n 